//
//  QuickUIConfig.h
//  UEPersonage
//
//  Created by mac on 2017/9/26.
//  Copyright © 2017年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface QuickUIConfig : NSObject
typedef NS_ENUM(NSInteger, UIImageViewPathType){
    UIImageViewPathTypeLocal,       //本地图片
    UIImageViewPathTypeInter        //网络图片
};

+ (UILabel *)createLabelFrame:(CGRect)frame backColor:(UIColor *)backColor text:(NSString *)text textColor:(UIColor *)textColor textFont:(UIFont *)font textAlignment:(NSTextAlignment)textAlignment numberOfLines:(NSInteger)numberOfLines;

+ (UIButton *)createBtnFrame:(CGRect)frame buttonType:(UIButtonType)buttonType backColor:(UIColor *)backColor textColor:(UIColor *)textColor title:(NSString *)title textFont:(UIFont *)font textAlignment:(UIControlContentHorizontalAlignment)textAlignment target:(id)target action:(SEL)action;

+ (UIImageView *)createImageViewFrame:(CGRect)frame imagePathType:(UIImageViewPathType)imagePathType imageName:(NSString *)imageName cornerRadius:(CGFloat)cornerRadius masksToBounds:(BOOL)masksToBounds;

+ (UIView *)createViewFrame:(CGRect)frame backColor:(UIColor *)backColor cornerRadius:(CGFloat)cornerRadius masksToBounds:(BOOL)masksToBounds;

@end
